


#pragma once
#include "global.h"
#include "base_singleton.h"



class GUI_OBJECT;

/**
 *
 *
 *
 **/
class GUI_MANAGER : public BASE_SINGLETON<GUI_MANAGER>
{
	friend BASE_SINGLETON<GUI_MANAGER>;
public:
	void		render( void );
	void		update( float duration_time );

public:
	void		set_current_gui( GUI_OBJECT* gui )			{ current_gui = gui; }
	GUI_OBJECT*	get_current_gui( void )						{ return current_gui; }
	
protected:
	GUI_MANAGER();
	virtual ~GUI_MANAGER();

private:

	GUI_OBJECT*		current_gui;
};